package com.example.yuejian.yuejian.service;


import com.example.yuejian.yuejian.bean.CommiteQuestion;
import com.example.yuejian.yuejian.bean.MasterClass;
import com.example.yuejian.yuejian.bean.MasterInfo;
import com.example.yuejian.yuejian.bean.Masters;
import com.example.yuejian.yuejian.bean.Question;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**/

/**
 * Created by Administrator on 2017/9/13.
 */

public interface MastersService {
    //大师列表
    @GET("masterlist")
    Call<List<Masters>> Masterlist();

    //大师详情

    @GET("masterinfo")
    Call<MasterInfo> Master_info(
            @Query("mid")int masterid);
    //大师课程列表

    @GET("masterClassList")
    Call<List<MasterClass>> MasterclassList(
            @Query("mid")String masterid);


    @GET("questionList")
    Call<List<Question>> questionList(
            @Query("mid")String masterid);
    @GET("commiteQuestion")
    Call<CommiteQuestion> commitequestion(
            @Query("uid")String users_id,
            @Query("qcontent")String qcontent,
            @Query("mid")String masterid,
            @Query("username")String username);
}
